import request from '@/utils/request'

// 获取商品列表
export function listBanner(query) {
  return request({
    url: '/goods/goodsBanner/listBanner',
    method: 'get',
    params: query
  })
}

// 保存
export function saveBanner(data) {
  return request({
    url: '/goods/goodsBanner/updateBanner',
    method: 'post',
    data: data
  })
}
